<template>
  <a-result
    status="500"
    title="500"
    :sub-title="t('error.page.exceptionMessage')"
  >
    <template #extra>
      <a-button type="primary" @click="backHome">
        {{ t("error.page.backHome") }}
      </a-button>
    </template>
  </a-result>
</template>
<script>
import { defineComponent } from "vue";
import { Result } from "ant-design-vue";
import { backHome } from "/@/kit/common-kit";
import { useI18n } from "vue-i18n";
export default defineComponent({
  name: "Exception",
  components: {
    "a-result": Result,
  },
  setup() {
    const { t } = useI18n();
    return {
      t,
      backHome,
    };
  },
});
</script>
